﻿using System.Windows;

namespace LabColorPicker {

    internal static class FrameworkElementExtensions {

        public static void MoveTo( this FrameworkElement element, double newX, double newY ) {
            element.Margin = new Thickness( newX, newY, element.Margin.Right, element.Margin.Bottom );
        }
        
    }

}
